package com.generator.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.generator.DTO.LoginDTO;
import com.generator.entity.UserEntity;
import com.generator.utils.Result;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;


/**
 * @version 1.0
 * @Author Xing
 * @Date 2023/12/3 22:04
 */
public interface SysUserService extends IService<UserEntity> {
    Result login(LoginDTO user);

    UserEntity getByUsername(String username);

    void getArticle(HttpServletResponse response,String key);

    Result register(LoginDTO user);
}
